<!--
 * @Author: 张天昊
 * @Date: 2024-09-10 11:52:55
 * @LastEditTime: 2024-10-31 09:57:31
 * @LastEditors: 张天昊
 * @Description: 
 * @FilePath: /sentiment-dispose-app/src/components/FilePreviewer/UploadTriggerCell.vue
-->
<script>
import { defineComponent } from 'vue'
import UploadTrigger from './UploadTrigger.vue'
export default defineComponent({
  components: {
    UploadTrigger
  },
  props: {
    color: String
  }
})
</script>
<template>
  <div
    class="van-hairline--top mt-16px flex items-center pt-16px"
    @click="$emit('click')"
  >
    <div class="h-32px w-32px">
      <UploadTrigger :color="color" :icon-size="9" />
    </div>
    <span class="ml-8px text-14px leading-14px" :style="{ color }">
      <slot>继续添加</slot>
    </span>
  </div>
</template>
